import NGameData from "../../ngame/network/NGameData";
import NGameSingle from "../../ngame/network/NGameSingle";


export default class NGameWorld2 extends NGameSingle{
    
    name:string;

    //连接
    start(name){

        this.nGame = new NGameData();
        this.nGame.nId = "StateSync"
        this.name = name;
        this.nStartNetwork();

    }

    url() {
        return `ws://192.168.2.227:8080/game/world2/${this.name}`;
    }

}

